<div style="margin: 15px 0px 0px 15px">
	<h3>Cập nhật thông tin</h3><hr />
	<div style="margin-top: 30px;  margin-left: 60px;">
	<div style="background: yellow;">
		<?php echo validation_errors();?>	
	</div>
		<?php $attrs = array('class'=>'frm_add_customer', 'id'=>'frm_add_customer')?>
		<?php echo form_open_multipart(base_url().'index.php/admin/update/'.$user->id, $attrs)?>
		<table cellpadding="10">
			<tr>
				<td width="150"><?php echo form_label( 'Tên tài khoản')?></td>
				<td style="font-weight: bold; color: red"><?php echo form_label( $user->username )?></td>
			</tr>
			<tr>
				<td><?php echo form_label('Mật khẩu')?></td>
				<td><?php echo form_password(array('name'=>'password', 'size'=>'30', 'value' => '********' ))?></td>
			</tr>
			<tr>
				<td><?php echo form_label('Email')?></td>
				<td><?php echo form_input(array('name'=>'email', 'size'=>'30', 'value' => $user->email ))?></td>
			</tr>
			<tr>
				<td></td>
				<td>
					<?php echo form_submit(array('name'=>'submit','value'=>'Update'))?>
					<?php echo form_reset(array('name'=>'reset', 'value'=>'Nhập lại'))?>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>